package com.sys.entity;

import java.lang.reflect.Field;
import java.util.Date;

import com.bhudy.annotation.PrimaryKey;

/**
 * @Author com.bhudy
 * @Description SysLog实体类
 * @Date Wed Nov 13 17:45:49 CST 2019
 */
public class SysLog {

    @PrimaryKey
    private Long id;    //id
    private Integer logType;    //日志类型 '类型   0：目录   1：菜单   2：按钮 3:页面请求'
    private String logTitle;    //日志标题
    private Long createBy;    //创建者
    private String createByName;    //用户名称
    private Date createDate;    //创建时间
    private String requestUrl;    //请求URL
    private String requestMethod;    //操作方式
    private String requestParams;    //操作提交的数据
    private String bodyData;    //操作提交的Body数据
    private String remoteAddr;    //操作IP地址
    private String serverAddr;    //请求服务器地址
    private Integer isException;    //是否异常
    private String exceptionInfo;    //异常信息
    private String userAgent;    //用户代理
    private String deviceName;    //设备名称/操作系统
    private String browserName;    //浏览器名称
    private Long executeTime;    //执行时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getLogType() {
        return logType;
    }

    public void setLogType(Integer logType) {
        this.logType = logType;
    }

    public String getLogTitle() {
        return logTitle;
    }

    public void setLogTitle(String logTitle) {
        this.logTitle = logTitle;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public String getCreateByName() {
        return createByName;
    }

    public void setCreateByName(String createByName) {
        this.createByName = createByName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(String requestParams) {
        this.requestParams = requestParams;
    }

    public String getBodyData() {
        return bodyData;
    }

    public void setBodyData(String bodyData) {
        this.bodyData = bodyData;
    }

    public String getRemoteAddr() {
        return remoteAddr;
    }

    public void setRemoteAddr(String remoteAddr) {
        this.remoteAddr = remoteAddr;
    }

    public String getServerAddr() {
        return serverAddr;
    }

    public void setServerAddr(String serverAddr) {
        this.serverAddr = serverAddr;
    }

    public Integer getIsException() {
        return isException;
    }

    public void setIsException(Integer isException) {
        this.isException = isException;
    }

    public String getExceptionInfo() {
        return exceptionInfo;
    }

    public void setExceptionInfo(String exceptionInfo) {
        this.exceptionInfo = exceptionInfo;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getBrowserName() {
        return browserName;
    }

    public void setBrowserName(String browserName) {
        this.browserName = browserName;
    }

    public Long getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(Long executeTime) {
        this.executeTime = executeTime;
    }

}
